import React from 'react';
import CDioTable from "@/components/c_dio_table"

const formOption = {
  dioOption:{
  title:"新增/编辑专业技能",
  },
  formOption:{
    saveUrl:'/api/professionalskills',
    items: [
    { pname: 'professionalSkills',plabel:'专业技能'},
    ],
  }
};
const tableOption={
  handleTable:true,
  getApi:'/api/professionalskills',
  columns:[
    {
      title: 'ID',
      dataIndex: 'id',
      key: 'id',
    },
    {
      title: '专业技能',
      dataIndex: 'professionalSkills',
      key: 'professionalSkills',
      width:'600px'
    },
  ]
}
const dioTableData:cType.tableDioProTp={
  formOption,
  tableOption,
  btnTitle:"新增专业技能"
}
const App: React.FC = () => {
  return (
    <div>
     <CDioTable {...dioTableData} ></CDioTable>
    </div>
  );
};
export default App;
